<?php
include("../conn.php");
$arr=array();
        if($_REQUEST[id]){
        	$query=mysql_query("UPDATE mycoupon set is_delete=1   where id=".$_REQUEST[id]);
			if (mysql_affected_rows()<=0) {
				$arr[code]=200;
			}else{
	  			$arr[code]=100;
			} 
	}else{
		$arr[code]=200;
	}

   echo json_encode($arr);
?>